package com.xywl.escort.view.withdraw;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.BandCardListResp;
import com.xywl.escort.bean.FindUserCashAmountResp;

public interface WithdrawContract {

    interface Presenter extends BasePresenter {
        void takeView(WithdrawContract.View view);

        void getBandCardList(String cardType, int pageNum, int pageSize);

        void findUserCashAmount(String userId);
    }

    interface View extends BaseView<Presenter> {
        void getBandCardListSuccess(BandCardListResp.DataBean dataBean);

        void getBandCardListFailure();

        void findUserCashAmountSuccess(FindUserCashAmountResp.DataBean dataBean);

        void findUserCashAmountFailure(String msg);
    }
}